import request from '@/utils/request'
export function fetchList(params) {
    return request({
        url: '/agriResource/list',
        method: 'get',
        params: params
    })
}

export function updatVerifyStatus(params) {
    return request({
        url: '/agriResource/update/verifyStatus',
        method: 'post',
        params: params
    })
}

export function getCounts(params) {
    return request({
        url: '/agriResource/counts',
        method: 'get',
        params: params
    })
}

export function getAgriResource(urid) {
    return request({
        url: '/agriResource/detail/' + urid,
        method: 'get',
    })
}